#防止jinkens清理run.sh中的tomcat所在jvm后台进程
BUILD_ID=DONTKILLME
cd /opt/tomcat10.1.26/bin
sh shutdown.sh
cd ../webapps
rm -rf jenkins.war
cp /root/.jenkins/workspace/sx/target/jenkins.war ./jenkins.war
cd ../bin
sh startup.sh
